package pers.cz.thread;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * 线程工具类
 * @program: PostGirl-panent
 * @description: ThreadUtils
 * @author: Cheng Zhi
 * @create: 2022-02-09 13:33
 **/
public class ThreadUtils {

    static  Logger logger = LoggerFactory.getLogger(ThreadUtils.class);
    public static final void doSleep(long l) {
        try
        {
            Thread.sleep(l);
        }
        catch(InterruptedException e)
        {
            logger.error(e.getMessage());
        }
    }

    public static void main(String[] args) {
        System.out.println(ThreadKeyFunction.INTERFACE_COLLECT);
    }
}
